package com.github.xuemingyu.springboot.acticitycloud.task;

import com.bidanet.bdcms.core.common.SpringWebTool;
import com.github.xuemingyu.springboot.acticitycloud.dao.SakuraEntryFormDao;
import com.github.xuemingyu.springboot.acticitycloud.entity.SakuraEntryForm;
import org.apache.commons.codec.digest.DigestUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class InsertForm {

    @Autowired
    private SakuraEntryFormDao sakuraEntryFormDao;

    public static void main(String[] args) {

        System.out.println(DigestUtils.md5Hex("wudaxiaoyouhuodongbiao"));
        String s = "2019-04-01 00:00:00";
        System.out.println(s.substring(0, 10));
    }

    public void insert() {

    }
}
